package com.levy.contronller.javase.designModel.command;

/**
 * 　　* @author levy
 * 　　* @description
 * 　　* @date 2021/4/21
 */
public class SellStock implements Order {
    private Stock abcStock;

    public SellStock(Stock abcStock) {
        this.abcStock = abcStock;
    }

    @Override
    public void execute() {
        abcStock.sell();
    }
}